package com.biomatch.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "dc_course_order")
public class CourseOrder {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "courseId")
    private String courseId;

    @TableField(value = "courseName")
    private String courseName;

    @TableField(value = "courseTeacherPrice")
    private String courseTeacherPrice;

    @TableField(value = "courseStudentPrice")
    private String courseStudentPrice;

    @TableField(value = "coursePositionId")
    private String coursePositionId;

    @TableField(value = "courseDay")
    private String courseDay;

    @TableField(value = "createId")
    private String createId;

    @JsonFormat(pattern = "HH:mm:ss")
    @TableField(value = "courseBeginTime")
    private Date courseBeginTime;

    @JsonFormat(pattern = "HH:mm:ss")
    @TableField(value = "courseEndTime")
    private Date courseEndTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "updateTime")
    private Date updateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "creatTime")
    private Date creatTime;

    @TableField(exist = false)
    private DancePosition dancePosition;

    @TableField(exist = false)
    private String teacherId;

}





